package ModelLayer;
/**
 * Write a description of class Person here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Person
{
    // instance variables - replace the example below with your own
    private long personID;
    private String name;
    private String postalCode;
    private String city;
    private String phone;
    private String address;

    /**
     * Constructor for objects of class Person
     */
    public Person()
    {
        // initialise instance variables
        personID = 0;
        name = postalCode = city = phone = address = "";
    }
    
    public Person(long _personID, String _name, String _address, String _postalCode, String _city, String _phone)
    {
        personID = _personID;
        name = _name;
        address = _address;
        postalCode = _postalCode;
        city = _city;
        phone = _phone;
    }
    
    public void setPersonID(long _personID)
    {
        personID = _personID;
    }
    
    public long getPersonID()
    {
        return personID;

    }
    
    public void setName(String _name)
    {
        name = _name;
    }
    
    public String getName()
    {
        return name;
    }
    
    public void setPostalCode(String _postalCode)
    {
        postalCode = _postalCode;
    }
    
    public String getPostalCode()
    {
        return postalCode;
    }
    
    public void setCity(String _city)
    {
        city = _city;
    }
    
    public String getCity()
    {
        return city;
    }
    
    public void setPhone(String _phone)
    {
        phone = _phone;
    }
    
    public String getPhone()
    {
        return phone;
    }
    
    public void setAddress(String _address)
    {
        address = _address;
    }
    
    public String getAddress()
    {
        return address;
    }
        
}
